﻿@model Yglab.Models.Gui_NewArticle

<script type="text/javascript">
    function addreferencefunc() {
        $("fieldset.qs").append("<input type=\"text\" value=\"\" placeholder=\"Referans..\" name=\"References\" id=\"References\">");
    }
</script>

<div class="row">
<div class="span4 offset3">
@using (Html.BeginForm("NewVersionNewArticle", "Journal", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <fieldset>
        @Html.Hidden("journalpath", Model.Journal.PathName)
        <br />
        <br />
        @Html.TextBox("Title", "", new { @placeholder = "Başlık.." })
        <br />
        <br />
        @Html.TextArea("Abstract", "", new { @placeholder = "Özet.." })
        <br />
        <br />
        @Html.ListBox("SubjectIds", new SelectList(Model.Subjects, "Id", "Name")) 
        <br />
        <br />
        @Html.ListBox("ScienceIds", new SelectList(Model.Sciences, "Id", "Name")) 
        <br />
        <br />
    </fieldset>
    
    <fieldset class="qs">
        @Html.TextBox("References", "", new { @placeholder = "Referans.." })
    </fieldset>
    
    <a href="#" class="addreference" onclick="addreferencefunc();">Bir referans daha?</a>
    <br />
    
    <button type="submit" class="btn">Gönder</button>
} 


<p> buraya yönlendirici yazılar gelebilir.. </p>
</div>
</div>
